package com.aaa.hospital.ManagementEnd.mapper;


import com.aaa.hospital.Configurationterminal.pojo.Admintab;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AdmintabDao {

    List<Admintab>  admin_query();//查询全部美容
    boolean  admin_insert(Admintab admintab);//添加
    boolean  admin_update(Admintab admintab);//修改
    boolean  admin_delete(Integer id);//删除
    List<Admintab>  limitAll(@Param("user") String user,@Param("name") String name);//搜索框

}





